package com.swu.pad.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.swu.pad.course.dao.GroupDao;
import com.swu.pad.system.dao.UserAdviceDao;
import com.swu.pad.system.entity.UserAdvice;
import com.swu.pad.system.service.UserAdviceService;
@Service
@Transactional
public class UserAdviceServiceImpl implements UserAdviceService {
	@Autowired
	private UserAdviceDao userAdviceDao;
	
    //保存建议
	@Override
	public void saveUserAdvice(UserAdvice userAdvice) {
		userAdviceDao.saveAndFlush(userAdvice);		
	}

}
